package com.zzxy.spring12.text;


import com.zzxy.spring12.service.impl.IAccountService;
import org.junit.After;
import org.junit.Before;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.test.context.ContextConfiguration;
import org.springframework.test.context.junit4.SpringJUnit4ClassRunner;

@RunWith(SpringJUnit4ClassRunner.class)
@ContextConfiguration(locations = "classpath:beans9.xml")
public class Test1 {
    @Autowired
    private IAccountService accountService;
    @Test
    public void test(){
        accountService.transer("jack","rose", 1000);
    }
    @Before
    public void before(){

    }
    @After
    public void after(){

    }
}
